package com.gnerv.sylvanas.authentication.server.controller;

import jakarta.annotation.Resource;
import org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "/api/oauth2/client")
public class ClientController {

    @Resource
    private RegisteredClientRepository registeredClientRepository;

    @PostMapping(value = "")
    public String create() {
        return "login";
    }



}
